package com.day19me.java;

import java.awt.print.Book;

public class MyData<T,U> {
    private String one;
    private Integer two;
    private T date;
    private U dateOne;

    public MyData() {
    }

    public MyData(String one, Integer two, T date, U dateOne) {
        this.one = one;
        this.two = two;
        this.date = date;
        this.dateOne = dateOne;
    }

    public String getOne() {
        return one;
    }

    public void setOne(String one) {
        this.one = one;
    }

    public Integer getTwo() {
        return two;
    }

    public void setTwo(Integer two) {
        this.two = two;
    }

    public T getDate() {
        return date;
    }

    public void setDate(T date) {
        this.date = date;
    }

    public U getDateOne() {
        return dateOne;
    }

    public void setDateOne(U dateOne) {
        this.dateOne = dateOne;
    }


    public static void main(String[] args) {
MyData<Book,String>md = new MyData<>();
    }
}